import { fetch } from '../fetch' // 引用fetch.js

export function getGradeAction ({activityId, username}) { // 登录
  let data = {activityId, username}
  return fetch({
    url: '/littlefinger/littleGame/getGradeList',
    method: 'get', // 请求方法
    params: data
  })
}
export function getGradeRanking ({activityId, username}) { // 获取成绩排名
  let data = {activityId, username}
  return fetch({
    url: '/littlefinger/littleGame/getGradeRanking',
    method: 'post', // 请求方法
    params: data
  })
}
